<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html>
<html>
<head>
<jsp:include page="title.jsp"/>
<meta charset="utf-8"/>
 <meta name="keywords" content="贷款，信用贷，分期，借款，万八千，信用借款，借款5000元，小额现金贷" />
  <meta name="description" content="万八千提供快速的小额借款服务。可以借款5000元、无抵押、无担保、万八千是一款针对成人白领市场的消费金融产品，通过互联网、大数据等科技手段，为用户提供短期的信用借贷，解决用户资金周转问题。"/>
<link href="css/style.css" rel="stylesheet"/>
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/default.css">
<script src="js/jqbase.js"></script>
</head>
<body style="background:#eaedf1;">
<jsp:include page="top.jsp"/>
<div class="backstage no-mar">
<div class="tab_ul">
			<div class="tab_cont" style="display:block">
			<form action="editConfig" method="post">
				<dl>
				<c:forEach items="${SysList}" var="cfg">
					<dd><span>${cfg.pmRemark} ：</span><input name="${cfg.pmKey}" style="height:30px;" value="${cfg.pmValue }"><em></em></dd>
				</c:forEach>	
				</dl>
				
				<div class="strong_jcpz">
					<input type="submit" class="actived" id="save" value="保存">
					<input type="button" class="actived"  id="redis" value="缓存">
				</div>
				</form>
				
				
				<!-- <a href="index.html" >取消</a> -->
			</div>
			
		</div>
	</div>
<jsp:include page="foot.jsp"/>
<jsp:include page="left.jsp"/>
<script type="text/javascript">
 $(function() {
	$("#redis").click(function() {
		
		 window.location.href="redisController";
	})
})

</script>
<!-- <script type="text/javascript">
$(function(){
	$("#save").click(function(){
		var config=new Object();
		
		$.ajax({
			url:'editConfig',
			type:'post',
			dataType:'json',
			data:config,
			success:function(data){
				alert(data.msg);
				if(data.status==0){
					location.reload();
				}
			},
			error:function(data){
				alert(errMsg);
			}
		})
		
	})
})
</script> -->
</body>
</html>